home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_11 / allison / cell.h < prev    next >
C/C++ Source or Header  |  1994-09-05  |  330b  |  23 lines

  1. LISTING 9 - The Cell class
  2. // cell.h:  Single-cell data entry
  3.  
  4. #include "field.h"
  5.  
  6. class Cell : public Field
  7. {
  8.     char *value,
  9.          *msg;
  10.  
  11. public:
  12.     ~Cell();
  13. };
  14.  
  15. inline Cell::~Cell()
  16. {
  17.     cout << "~Cell()" << endl;
  18.  
  19. //    What the real destructor does:
  20. //    delete [] msg;
  21. //    delete [] value;
  22. }
  23.